package hu.arguscab.ai;

/**
 *
 * @param <E> The data type that <code>Edge</code> contain. 
 * @param <N> The data type that <code>Node</code> contain. 
 * @author sharp
 */
public abstract class TreeIterable<E, N> implements Iterable<Node<N>>  {
	private Tree<E, N> tree;

	public TreeIterable(Tree<E, N> tree) {
		this.tree = tree;
	}

	public final Tree<E, N> getTree() {
		return tree;
	}
}
